package com.zhongxi.guoyuan.entity.shopcart;

import com.zhongxi.guoyuan.entity.BaseResult;

import java.util.List;

/**
 * Created by Administrator on 2017/3/2.
 */

public class RewardPayResult {
    private int code;
    private BaseResult safeobj;
    private String summary;
    private String securityKey;
    private List<RewardPayData> goodsInfo;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getSecurity() {
        return securityKey;
    }

    public void setSecurityKey(String secutiryKey) {
        this.securityKey = securityKey;
    }

    public List<RewardPayData> getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(List<RewardPayData> goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public String getSecurityKey() {
        return securityKey;
    }

    public class RewardPayData{
        private String orderid;
        private String type;
        private String goodsid;
        private String goodsname;
        private String thumbnail;
        private String subject;
        private String shouldprice;
        private String goodsnum;
//        private String gattr;

        public String getOrderid() {
            return orderid;
        }

        public void setOrderid(String orderid) {
            this.orderid = orderid;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getGoodsid() {
            return goodsid;
        }

        public void setGoodsid(String goodsid) {
            this.goodsid = goodsid;
        }

        public String getGoodsname() {
            return goodsname;
        }

        public void setGoodsname(String goodsname) {
            this.goodsname = goodsname;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getShouldprice() {
            return shouldprice;
        }

        public void setShouldprice(String shouldprice) {
            this.shouldprice = shouldprice;
        }

        public String getGoodsnum() {
            return goodsnum;
        }

        public void setGoodsnum(String goodsnum) {
            this.goodsnum = goodsnum;
        }

        /*public String getGattr() {
            return gattr;
        }

        public void setGattr(String gattr) {
            this.gattr = gattr;
        }*/

    }

    public class Summary{
        private String postAmount;
        private String todoorAmount;
        private String postage = "0";
        private String postGoodsNum;
        private String todoorGoodsNum;

        public String getPostAmount() {
            return postAmount;
        }

        public void setPostAmount(String postAmount) {
            this.postAmount = postAmount;
        }

        public String getTodoorAmount() {
            return todoorAmount;
        }

        public void setTodoorAmount(String todoorAmount) {
            this.todoorAmount = todoorAmount;
        }

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public String getPostGoodsNum() {
            return postGoodsNum;
        }

        public void setPostGoodsNum(String postGoodsNum) {
            this.postGoodsNum = postGoodsNum;
        }

        public String getTodoorGoodsNum() {
            return todoorGoodsNum;
        }

        public void setTodoorGoodsNum(String todoorGoodsNum) {
            this.todoorGoodsNum = todoorGoodsNum;
        }
    }

    public class ShippingAddress{
        private String province;
        private String city;
        private String prefecture;
        private String address;
        private String username;
        private String mphone;

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getPrefecture() {
            return prefecture;
        }

        public void setPrefecture(String prefecture) {
            this.prefecture = prefecture;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getMphone() {
            return mphone;
        }

        public void setMphone(String mphone) {
            this.mphone = mphone;
        }
    }
}
